Skip to content

Conversation

peterdsharpe
Copy link
Collaborator

@peterdsharpe peterdsharpe commented May 21, 2025

PhysicsNeMo Pull Request

Description

Addresses two bugs:

This provides a fix for the first bug, and at least a more graceful failure for the second bug.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The CHANGELOG.md is up to date with these changes.
  • An issue is linked to this pull request.

Dependencies

@peterdsharpe peterdsharpe self-assigned this May 21, 2025
@peterdsharpe peterdsharpe requested a review from ktangsali May 21, 2025 16:12
@peterdsharpe peterdsharpe marked this pull request as ready for review May 21, 2025 18:31
@peterdsharpe
Copy link
Collaborator Author

/blossom-ci

@peterdsharpe
Copy link
Collaborator Author

/blossom-ci

@@ -70,11 +70,14 @@ class MdlsUNetMetaData(ModelMetaData):
# [physicsnemo model]

# [physicsnemo sym model]

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When does this failure occur? The code snippet here is rendered in the docs, and the try-except will not look good. For running pytest in the root directory, make pytest should be preferred. I can see the rationale of supporting pytest . too, but unforutnately this does not work in the present setting. Maybe something like below is better to modify the default behavior of pytest (reference):

[tool.pytest.ini_options]
testpaths = ["test"]

or perhaps a .pytest.ini file

@peterdsharpe
Copy link
Collaborator Author

/blossom-ci

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants